FIGURES = 

manual.pdf: manual.tex 
	TEXINPUTS=${TEXINPUTS} pdflatex $<
	BIBINPUTS=${BIBINPUTS} bibtex   $*
	TEXINPUTS=${TEXINPUTS} pdflatex $<	
	TEXINPUTS=${TEXINPUTS} pdflatex $<	


Notes.pdf: Notes.tex 
	TEXINPUTS=${TEXINPUTS} pdflatex $<
	BIBINPUTS=${BIBINPUTS} bibtex $*
	pdflatex $<
	pdflatex $<



viewuser:
	evince User.pdf&

viewnotes:
	evince Notes.pdf&

cleaner:
	rm -f *~ *.out *.aux *.log *.blg *.bbl

distclean: cleaner
	rm -f Notes.pdf manual.pdf

.PHONY: cleaner distclean view all

include ${PETSC_DIR}/conf/base
